package cn.unknowpupil.common.mybatis.enums;


import cn.unknowpupil.common.mybatis.IBaseEnum;

/**
 * @Classname: AgeEnum
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/1/16 12:25
 * @Description:
 * @Version: 1.0
 */
public enum  AgeEnum implements IBaseEnum<Integer> {
    ONE(1, "一岁"),
    TWO(2, "二岁"),
    THREE(3, "三岁");

    private final int value;
    private final String description;

    AgeEnum(final int value, final String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
